package cn.idietrade.idietradegoodmanage8008.demo.mapper;

import cn.idietrade.common.pojo.SecondGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GoodsManageMapper {
    //后台管理用户商品上下架
     int goodsAudit(@Param("state") Integer state,@Param("id") Integer id);
     //获取所有商品信息并分页
    List<SecondGoods> getList(String goodsName);
}
